Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@vtbag/element-crossing
Advanced tools
Sites using cross-document view transitions do full page loads of static content on navigation. The element crossing provides a way to preserve current dynamic state of selected elements across cross-document view transitions for a smoother user experienc
⭐️Please star to support this work⭐️
Transfer selected element state across cross-document view transitions.
The @vtbag website can be found at https://vtbag.dev/
Now also fully supports crossing of data-*
properties.
For details see the CHANGELOG
Now also preserves the animation state of animated SVGs across cross-document view transitions, thanks to Lukas!
Small improvements for smoother animations and handling reloads.
Boost the smoothness of your cross-document view transitions with the Element Crossing library! No more resetting to static states! This library preserves the current dynamic state of your DOM and CSS properties, ensuring a seamless user experience.
With Element Crossing, you can automatically retain:
Simply annotate your elements in the HTML source or DOM, and let the library handle the rest. Keep your users engaged by preserving the exact state they left off, making transitions across documents smoother than ever!
Address any CSS property or DOM element property, any CSS class, or CSS animation.
View configuration examples and see the Element Crossing in action
FAQs
Sites using cross-document view transitions do full page loads of static content on navigation. The element crossing provides a way to preserve current dynamic state of selected elements across cross-document view transitions for a smoother user experienc
The npm package @vtbag/element-crossing receives a total of 6,205 weekly downloads. As such, @vtbag/element-crossing popularity was classified as popular.
We found that @vtbag/element-crossing demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.